package com.hetao.assist.dal.mapper;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface BaseNewMapper<T, ID extends Serializable> {

    int deleteByPrimaryKey(ID id);

    int insert(T entity);

    int insertSelective(T entity);

    T selectByPrimaryKey(ID id);

    int updateByPrimaryKeySelective(T entity);

    int updateByPrimaryKey(T record);

    List<T> list(T entity);

}